#include"List.h"

int main()
{
	LTNode* head = LTInit();
	LTPushBack(head, 1);
	LTPushBack(head, 2);
	LTPushBack(head, 3);
	LTPushFront(head, 4);
	LTPushFront(head, 5);
	LTPushFront(head, 6);
	LTPrint(head);

	LTPopBack(head);
	LTPrint(head); 
	LTPopFront(head);
	LTPrint(head);

	LTInsert(LTFind(head, 1), 3);
	LTPrint(head);
	LTErase(LTFind(head, 3));
	LTPrint(head);
	return 0;
}